import React, { useEffect } from 'react';
import { useLocation } from 'react-router';

const Index = () => {
  const location = useLocation()
  useEffect(() => {
    console.log(location);
  }, [])
  return (
    <div>
      详情页
    </div>
  );
}

export default Index;
